<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ES7 新特性</title>
</head>

<body>
    <script>
        // includes(返回布尔值)   indexOf(返回结果是数字-1)
        // const mingzhu = ['西游记','红楼梦','三国演义','水浒传'];

        //判断
        // console.log(mingzhu.includes('西游记'));
        // console.log(mingzhu.includes('金瓶梅'));//false

        // **幂运算
        console.log(2 ** 10); // 1024
        console.log(Math.pow(2, 10));
    </script>
</body>

</html>